﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="user.aspx.cs" Inherits="user" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>个人信息管理</title>
<link rel="stylesheet" type="text/css" href="wuliu.css">
      
</head>

<body>
<form id="form2" runat="server" >
<div id="container">
	<div id="top">
    	<div id="header"></div>
        <div id="menu">
        	<ul>
            	<li><a href="index.aspx">首页</a></li>
            
                <li><a href="fabubook.aspx">管理书刊信息</a></li>
                <li><a href="fabuelc.aspx">管理家电信息</a></li>
                <li><a href="fabuhelp.aspx">管理求助信息</a></li>
                <li><a href="fabuteach.aspx">管理服务信息</a></li>
                 <li><a href="fabuxinxi.aspx">发布新信息</a></li>
                
                
            </ul>
        </div>
    </div>	
    <div id="content">
      <div id="main" >
      
      

      
      
	      
	      <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" 
              BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" 
              CellPadding="3" DataKeyNames="user_id" DataSourceID="LinqDataSource1" 
              GridLines="Vertical" Height="64px" Width="895px">
              <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
              <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
              <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
              <Fields>
                  <asp:BoundField DataField="user_name" HeaderText="用户名" 
                      SortExpression="user_name" />
                  <asp:BoundField DataField="user_password" HeaderText="密码" 
                      SortExpression="user_password" />
                  <asp:BoundField DataField="user_email" HeaderText="邮箱" 
                      SortExpression="user_email" />
                  <asp:BoundField DataField="user_phone" HeaderText="联系电话" 
                      SortExpression="user_phone" />
                  <asp:CommandField ShowEditButton="True" />
              </Fields>
              <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
              <HeaderTemplate>
                  个人详细信息
              </HeaderTemplate>
              <EditRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
              <AlternatingRowStyle BackColor="Gainsboro" />
          </asp:DetailsView>
          <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
              ContextTypeName="infosDataContext" EnableDelete="True" EnableInsert="True" 
              EnableUpdate="True" TableName="b_user" Where="user_id == @user_id">
              <WhereParameters>
                  <asp:SessionParameter Name="user_id" SessionField="userid" Type="String" />
              </WhereParameters>
          </asp:LinqDataSource>
          <br />
      
      

      
      
	      
	   </div>
  </div>
    <div id="footer">
        版权所有 Copyright ©长江大学计算机科学学院 All Rights Reserveda href=&quot;#&quot;&gt;联系站长"#">网站地图</a>
    </div>
</div>
</form>
</body>

</html>

